package com.baseproject.appconfig;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by hp on 2017/8/22.
 */

public class AppConfigBaseProject {

    public static final String APPLICATION_NAME = "mytaobao";
    public static final String FILE_POSTFIX = ".xml";
    public static List<String> serverResponseConfig = new ArrayList<String>() {{ add("data"); add("0"); add("code"); add("msg"); }};

    public static final int REQUEST_CODE_OK = 0;
    public static final int REQUEST_CODE_NONE_LOGIN = 10001;
    public static final int REQUEST_CODE_NONE_ORDER = 10002;
    public static final int REQUEST_CODE_PARAM_ERROR = 10003;
    public static final int REQUEST_CODE_SYSTEM_ERROR = 10004;
    public static final int REQUEST_CODE_SIGN_ERROR = 10005;
    public static final int REQUEST_CODE_HAVE_ORDERED = 10006;

    public static List<String> REQUEST_CODES = new ArrayList<String>() {{ add(REQUEST_CODE_OK + ""); add(REQUEST_CODE_NONE_LOGIN + "");
        add(REQUEST_CODE_NONE_ORDER + ""); add(REQUEST_CODE_PARAM_ERROR + ""); add(REQUEST_CODE_SYSTEM_ERROR + "");
        add(REQUEST_CODE_SIGN_ERROR + ""); add(REQUEST_CODE_HAVE_ORDERED + "");}};
}
